package com.ivc.info.dto.base;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.cs.framework.common.annotation.NotNull;
import com.cs.framework.common.bo.BoBase;

/**
 * 商品信息
 * 
 * @author hedongzhou
 * 
 */
@Entity
@Table(name = "product")
public class ProductDto extends BoBase {

	private static final long serialVersionUID = -3592028305911347867L;

	/**
	 * 商品编号
	 */
	@Id
	@Column(name = "product_no")
	@NotNull("商品编号")
	private String productNo;

	/**
	 * 商品名称
	 */
	@NotNull("商品名称")
	private String name;

	/**
	 * 商品大类
	 */
	@Column(name = "product_class")
	@NotNull("商品大类")
	private String productClass;

	public String getProductNo() {
		return productNo;
	}

	public void setProductNo(String productNo) {
		this.productNo = productNo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getProductClass() {
		return productClass;
	}

	public void setProductClass(String productClass) {
		this.productClass = productClass;
	}

}
